package com.zx.webflux.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serializable;


@AllArgsConstructor
@NoArgsConstructor
@Data
@Table("users")
public class User implements Serializable {
    @Id
    private int id;
    private String name;
    private int age;

    // Getter and Setter methods...
}